<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>InFact: infact::StreamInitializer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">InFact
   
   </div>
   <div id="projectbrief">Interpreter and factory for easily creating C++ objects at run-time</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceinfact.html">infact</a>      </li>
      <li class="navelem"><a class="el" href="classinfact_1_1_stream_initializer.html">StreamInitializer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">infact::StreamInitializer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="infact::StreamInitializer" -->
<p>An interface that allows for a primitive, <a class="el" href="classinfact_1_1_factory.html">Factory</a>-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream.  
 <a href="classinfact_1_1_stream_initializer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="stream-init_8h_source.html">stream-init.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for infact::StreamInitializer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classinfact_1_1_stream_initializer.png" usemap="#infact::StreamInitializer_map" alt=""/>
  <map id="infact::StreamInitializer_map" name="infact::StreamInitializer_map">
<area href="classinfact_1_1_initializer.html" title="A class to initialize a Factory-constructible object." alt="infact::Initializer&lt; T &gt;" shape="rect" coords="0,56,161,80"/>
<area href="classinfact_1_1_initializer_3_01bool_01_4.html" title="A specialization to initialize bool data members." alt="infact::Initializer&lt; bool &gt;" shape="rect" coords="171,56,332,80"/>
<area href="classinfact_1_1_initializer_3_01double_01_4.html" title="A specialization to initialize double data members." alt="infact::Initializer&lt; double &gt;" shape="rect" coords="342,56,503,80"/>
<area href="classinfact_1_1_initializer_3_01int_01_4.html" title="A specialization to allow Factory-constructible objects to initialize int data members." alt="infact::Initializer&lt; int &gt;" shape="rect" coords="513,56,674,80"/>
<area href="classinfact_1_1_initializer_3_01string_01_4.html" title="A specialization to initialize string data members." alt="infact::Initializer&lt; string &gt;" shape="rect" coords="684,56,845,80"/>
</map>
 </div></div>

<p><a href="classinfact_1_1_stream_initializer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_stream_initializer.html#afebd934e6562f637dae5f2ead5c4c441">StreamInitializer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_stream_initializer.html#a86ef5ab612b3c9a9a82a0f554cfc6677">~StreamInitializer</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinfact_1_1_stream_initializer.html#acd03dcfdde0dd576adf7098c3796cab9">Init</a> (<a class="el" href="classinfact_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;st, <a class="el" href="classinfact_1_1_environment.html">Environment</a> *env=nullptr)=0</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An interface that allows for a primitive, <a class="el" href="classinfact_1_1_factory.html">Factory</a>-constructible object or vector thereof to be initialized based on the next token or tokens from a token stream. </p>
<p>The data member may be an <code>int</code>, a <code>double</code>, a <code>string</code> or a <code>shared_ptr</code> to another Factory-constructible type. </p>

<p>Definition at line <a class="el" href="stream-init_8h_source.html#l00068">68</a> of file <a class="el" href="stream-init_8h_source.html">stream-init.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afebd934e6562f637dae5f2ead5c4c441"></a><!-- doxytag: member="infact::StreamInitializer::StreamInitializer" ref="afebd934e6562f637dae5f2ead5c4c441" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classinfact_1_1_stream_initializer.html#afebd934e6562f637dae5f2ead5c4c441">infact::StreamInitializer::StreamInitializer</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="stream-init_8h_source.html#l00070">70</a> of file <a class="el" href="stream-init_8h_source.html">stream-init.h</a>.</p>

</div>
</div>
<a class="anchor" id="a86ef5ab612b3c9a9a82a0f554cfc6677"></a><!-- doxytag: member="infact::StreamInitializer::~StreamInitializer" ref="a86ef5ab612b3c9a9a82a0f554cfc6677" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classinfact_1_1_stream_initializer.html#a86ef5ab612b3c9a9a82a0f554cfc6677">infact::StreamInitializer::~StreamInitializer</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="stream-init_8h_source.html#l00071">71</a> of file <a class="el" href="stream-init_8h_source.html">stream-init.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acd03dcfdde0dd576adf7098c3796cab9"></a><!-- doxytag: member="infact::StreamInitializer::Init" ref="acd03dcfdde0dd576adf7098c3796cab9" args="(StreamTokenizer &amp;st, Environment *env=nullptr)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classinfact_1_1_stream_initializer.html#acd03dcfdde0dd576adf7098c3796cab9">infact::StreamInitializer::Init</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classinfact_1_1_stream_tokenizer.html">StreamTokenizer</a> &amp;&#160;</td>
          <td class="paramname"><em>st</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classinfact_1_1_environment.html">Environment</a> *&#160;</td>
          <td class="paramname"><em>env</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classinfact_1_1_initializer_3_01string_01_4.html#ab1a896aa73192d3e2584411b84d4e50a">infact::Initializer&lt; string &gt;</a>, <a class="el" href="classinfact_1_1_initializer_3_01bool_01_4.html#a7f6e058eefd5bfc55cda47142a23dd4f">infact::Initializer&lt; bool &gt;</a>, <a class="el" href="classinfact_1_1_initializer_3_01double_01_4.html#a17e348f01d54a7a12dcbf4332fd51cb9">infact::Initializer&lt; double &gt;</a>, <a class="el" href="classinfact_1_1_initializer_3_01int_01_4.html#ac7a91aa865ce342f368a9e779b97c5b5">infact::Initializer&lt; int &gt;</a>, and <a class="el" href="classinfact_1_1_initializer.html#a84297ff40dc43faf6677d4dcd8fd2291">infact::Initializer&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/infact/<a class="el" href="stream-init_8h_source.html">stream-init.h</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Apr 23 2014 10:07:53 for InFact by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
